﻿//创建模块 增加对路由模块的依赖
var myapp=angular.module("myapp",["ngRoute"]);

//配置路由
myapp.config(function($routeProvider){
	$routeProvider
	.when("/",{templateUrl:"home.html"})
	.when("/phoneManagement",{templateUrl:"phoneManagement.html"})
	.when("/clusterManagement",{templateUrl:"clusterManagement.html"})
	.when("/sendSet",{templateUrl:"sendSet.html"})
	.when("/CallRecorder",{templateUrl:"CallRecorder.html"})
	.when("/noteManage",{templateUrl:"noteManage.html"})
	.when("/noteTemplate",{templateUrl:"noteTemplate.html"})
	.when("/Sort",{templateUrl:"Sort.html"})
	.when("/comboFlow",{templateUrl:"comboFlow.html"})
	.when("/tapeBackup",{templateUrl:"tapeBackup.html"})
	.when("/StrangeNumberBackup",{templateUrl:"StrangeNumberBackup.html"})
	.when("/CustomSMSBackup",{templateUrl:"CustomSMSBackup.html"})
	.when("/TextMessagingStatistics",{templateUrl:"TextMessagingStatistics.html"})
	.when("/monthlyReturns",{templateUrl:"monthlyReturns.html"})
	.otherwise({templateUrl:"routeNotFound.html"});
});